css: Match state in siblings properly
authorBenjamin Otte <otte@redhat.com>
Wed, 13 Aug 2014 14:18:39 +0000 (16:18 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 13 Aug 2014 14:51:16 +0000 (16:51 +0200)
commitdff52f7a040c2271ed93307f32a545bd662f9dbc
tree6f2e8060e8d0e51f34713e13075b714b59ddf58e
parentb276b6198f6937700f0cfc39dfbfe7cd156747e7
css: Match state in siblings properly

Previously, we always returned the state flags of the original widget
and did not consider the siblings' pseudoclasses.

Testcase is attached.
gtk/gtkcssmatcher.c
testsuite/reftests/Makefile.am
testsuite/reftests/sibling-pseudoclasses.css [new file with mode: 0644]
testsuite/reftests/sibling-pseudoclasses.ref.ui [new file with mode: 0644]
testsuite/reftests/sibling-pseudoclasses.ui [new file with mode: 0644]